import request from '@/utils/request'

export default {

  getStuStatus1() {
    return request({
      url: `/intern/user-internship/getStuStatus`,
      method: 'get',
    })
  },

  //获取实习记录List
  getInternshipList(current, limit, evaluateQuery) {
    return request({
      url: `/intern/user-internship/list/${current}/${limit}`,
      method: 'post',
      data: evaluateQuery
    })
  },

  //添加实习记录
  addInternship(internship) {
      return request({
        url: `/intern/user-internship/add`,
        method: 'post',
        data: internship
      })
  },

  //删除实习记录
  deleteInternship(id){
    return request({
      url: `/intern/user-internship/delete/${id}`,
      method: 'delete'
    })
  },

  //通过记录id获取实习记录
  getInternshipInfo(id) {
    return request({
      url: `/intern/user-internship/info/${id}`,
      method: "get"
    })
  }

}